package com.jt.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
@ComponentScan("com.jt")
//当Spring容器启动中,指定扫描包的路径,可以扫描他的子孙包(用在配置类中)
public class SpringConfig {

}
